import 'package:flutter_test/flutter_test.dart';
import 'package:appupgrade/appupgrade.dart';
import 'package:appupgrade/appupgrade_platform_interface.dart';
import 'package:appupgrade/appupgrade_method_channel.dart';
import 'package:plugin_platform_interface/plugin_platform_interface.dart';

class MockAppupgradePlatform 
    with MockPlatformInterfaceMixin
    implements AppupgradePlatform {

  @override
  Future<String?> getPlatformVersion() => Future.value('42');
}

void main() {
  final AppupgradePlatform initialPlatform = AppupgradePlatform.instance;

  test('$MethodChannelAppupgrade is the default instance', () {
    expect(initialPlatform, isInstanceOf<MethodChannelAppupgrade>());
  });
}
